import java.io.*;


public class StringUtils {

    StringUtils() {

    }

    public static String ltrim(String source) {
        return source.replaceAll("^\\s+", "");
    }

    public static String rtrim(String source) {
        return source.replaceAll("\\s+$", "");
    }

    public static String lrtrim(String source) {
        return ltrim(rtrim(source));
    }

}
